package com.atomgit.ai.proxy.service;

import com.atomgit.ai.proxy.param.PromptParam;
import com.atomgit.ai.proxy.vo.ModelAnswerVO;
import com.atomgit.ai.proxy.vo.ModelInfoSelfVO;
import com.atomgit.ai.proxy.vo.ModelInfoVO;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface ModelInfoService {
    List<ModelInfoVO> list();

    ModelAnswerVO answer(PromptParam param) throws ClassNotFoundException, InstantiationException, IllegalAccessException;

    void answerInStream(PromptParam param,HttpServletResponse response) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IOException;

    List<ModelInfoSelfVO> listSelf();
}
